<#include "copyright.ftl"/>
package ${basePackage}.${moduleName}.service.impl;

import ctd.util.annotation.RpcService;
import ${basePackage}.${moduleName}.dao.${table.className}DAO;
import ${basePackage}.${moduleName}.entity.${table.className};
import ${basePackage}.${moduleName}.service.${table.className}Service;

import java.util.List;

/** 
 * User: 
 * Date: ${.now}
 */
public class ${table.className}ServiceImpl implements ${table.className}Service{

    private ${table.className}DAO ${table.className?uncap_first}DAO;

    public void set${table.className}DAO(${table.className}DAO ${table.className?uncap_first}DAO){
        this.${table.className?uncap_first}DAO = ${table.className?uncap_first}DAO;
    }

    @RpcService
    public List<${table.className}> find${table.className}s(){
        return ${table.className?uncap_first}DAO.find${table.className}s();
    }

}